package com.epalmpay.service.withdraw;

import com.epalmpay.dto.agentmanage.TradeWithdrawListInDTO;
import com.epalmpay.dto.agentmanage.TradeWithdrawOutDTO;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.TradeWithdraw;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by Administrator on 2017/6/6.
 */
public interface ITradeWithdrawService {
    public List<TradeWithdrawOutDTO> getTradeWithdrawList(TradeWithdraw tradeWithdraw, Page page) throws Exception;

    public TradeWithdraw GetTradeWithdrawById(Long id) throws Exception;

    public int UpdateTradeWithdrawById(TradeWithdraw tradeWithdraw,HttpServletRequest request) throws Exception;

    public int UpdateTradeWithdrawByList(TradeWithdrawListInDTO tradeWithdrawListInDTO) throws Exception;

    public List<TradeWithdrawOutDTO> GetWithdrawListByAgentIdOrShopId(TradeWithdraw tradeWithdraw, Page page) throws Exception;

    public int ApplyWithdrawById(TradeWithdraw tradeWithdraw) throws Exception;

    public int BatchUpdateTradeWithdrawById(TradeWithdraw tradeWithdraw,HttpServletRequest request) throws Exception;

//    TradeWithdraw updatePlatformWithDrawNotify(String orgOrderNum,String status);


}
